#include "WindowDecorator.h"
#include "Titlebar.h"

namespace Softwarer
{
	IWindowDecorator::IWindowDecorator(QWidget* parent)
		: QMainWindow(parent)
	{
		setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
		WinTitlebar* titlebar = new WinTitlebar(this);
		setMenuWidget(titlebar);
	}

	IWindowDecorator::~IWindowDecorator()
	{
	}
}